export default {

        name: [
            {
                required: true,
                pattern: /^[a-zA-Z0-9_]+$/,
                message:'请输入正确的用户名',
            },
        ],
        password: [
            {
                required: true,
                pattern: /^[a-zA-Z0-9_]+$/,
                message:'请输入正确的密码',
            },
        ],
        email: [
            {
                type: 'email',
                required: true,
                parent:'/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/',
                message:'请填写正确的邮箱地址',
            }
        ]
    ,
    verified:[
        {
            type: 'verified',
            required: true,
            message:'请输入正确的验证码',
        }
    ]

}
